package com.fanshilz.flower2025.apps.wechatminiapp.project.resp;

import com.fanshilz.flower2025.apps.admin.project.resp.AttachmentDetailResp;
import com.mybatisflex.annotation.RelationOneToMany;
import lombok.Data;

import java.util.List;

@Data
public class RequestLinkProjectDetailResp {

    private Long projectId;

    private String projectShortName;

    private Double projectSellingPriceMoney;

    @RelationOneToMany(selfField = "projectId", targetField = "objId", targetTable = "flower_attachment", extraCondition = "obj_type = 2 or obj_type = 3")
    private List<AttachmentDetailResp> projectCoverImages;

}
